package com.sbeam.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("user")
public class User extends DataBase {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String nickname;
    private String password;
    private String phone;
    private String ordergame;
    private Boolean status;
    @TableField(fill = FieldFill.INSERT)
    private Integer credits;//新建时自动填充
    @TableField(fill = FieldFill.INSERT)
    private Integer level;//新建时自动填充
    @TableField(fill = FieldFill.INSERT)
    private Integer points;//新建时自动填充
}
